// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_INV_LOCATION_EX_HIS
// * CreateDate    : 2014-06-05 18:30:09
// * Creater       : CodeSmith
// * LastChangeDate: 2014-06-05 18:30:09
// * LastChanger   : 2014-06-05 18:30:09
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class InvLocationExHisTable : TableInfo
    {
		public const string C_TableName = "INV_LOCATION_EX_HIS";
		
		public const string C_ID = "ID";
		public const string C_LOCATION_EX_ID = "LOCATION_EX_ID";
		public const string C_INV_IO_ID = "INV_IO_ID";
		public const string C_LOCATION_ID = "LOCATION_ID";
		public const string C_MATERIAL_ID = "MATERIAL_ID";
		public const string C_HIS_EX_TYPE = "HIS_EX_TYPE";
		public const string C_HIS_MATERIAL_ID = "HIS_MATERIAL_ID";
		public const string C_HIS_RELATED_ID = "HIS_RELATED_ID";
		public const string C_HIS_LOT_NO = "HIS_LOT_NO";
		public const string C_TYPE = "TYPE";
		
		public InvLocationExHisTable()
        {
            _tableName = "INV_LOCATION_EX_HIS";
        }
		
		protected static InvLocationExHisTable _current;
        public static InvLocationExHisTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new InvLocationExHisTable();

            _current.Add(C_ID, new ColumnInfo(C_ID,"Id", true, typeof(string)));
            _current.Add(C_LOCATION_EX_ID, new ColumnInfo(C_LOCATION_EX_ID,"LocationExId", false, typeof(string)));
            _current.Add(C_INV_IO_ID, new ColumnInfo(C_INV_IO_ID,"InvIoId", false, typeof(string)));
            _current.Add(C_LOCATION_ID, new ColumnInfo(C_LOCATION_ID,"LocationId", false, typeof(string)));
            _current.Add(C_MATERIAL_ID, new ColumnInfo(C_MATERIAL_ID,"MaterialId", false, typeof(string)));
            _current.Add(C_HIS_EX_TYPE, new ColumnInfo(C_HIS_EX_TYPE,"HisExType", false, typeof(int)));
            _current.Add(C_HIS_MATERIAL_ID, new ColumnInfo(C_HIS_MATERIAL_ID,"HisMaterialId", false, typeof(string)));
            _current.Add(C_HIS_RELATED_ID, new ColumnInfo(C_HIS_RELATED_ID,"HisRelatedId", false, typeof(string)));
            _current.Add(C_HIS_LOT_NO, new ColumnInfo(C_HIS_LOT_NO,"HisLotNo", false, typeof(string)));
            _current.Add(C_TYPE, new ColumnInfo(C_TYPE,"Type", false, typeof(int)));
			
		}
		
		public ColumnInfo ID
        {
            get { return this[C_ID]; }
        }
		
		public ColumnInfo LOCATION_EX_ID
        {
            get { return this[C_LOCATION_EX_ID]; }
        }
		
		public ColumnInfo INV_IO_ID
        {
            get { return this[C_INV_IO_ID]; }
        }
		
		public ColumnInfo LOCATION_ID
        {
            get { return this[C_LOCATION_ID]; }
        }
		
		public ColumnInfo MATERIAL_ID
        {
            get { return this[C_MATERIAL_ID]; }
        }
		
		public ColumnInfo HIS_EX_TYPE
        {
            get { return this[C_HIS_EX_TYPE]; }
        }
		
		public ColumnInfo HIS_MATERIAL_ID
        {
            get { return this[C_HIS_MATERIAL_ID]; }
        }
		
		public ColumnInfo HIS_RELATED_ID
        {
            get { return this[C_HIS_RELATED_ID]; }
        }
		
		public ColumnInfo HIS_LOT_NO
        {
            get { return this[C_HIS_LOT_NO]; }
        }
		
		public ColumnInfo TYPE
        {
            get { return this[C_TYPE]; }
        }
		
		
		
	}
}

